package com.itheima.demo06;

public class Student extends Person{
    String className;

    public Student(){
        System.out.println("子类的无参构造方法");
    }

    public Student(String className){
        this.className = className;
        System.out.println("子类的带参构造方法");
    }
}
